//
//  ResourceLoader.cpp
//  Seek&Hide
//
//  Created by 齐思 陈 on 13-10-5.
//
//

#include "ResourceLoader.h"

ResourceLoader::ResourceLoader() {
}

ResourceLoader::~ResourceLoader() {
}

static ResourceLoader* m_pSharedInstance;

ResourceLoader* ResourceLoader::sharedInstance()
{
    if (m_pSharedInstance == NULL) {
        m_pSharedInstance = new ResourceLoader();
        m_pSharedInstance->init();
        m_pSharedInstance->autorelease();
    }
    
    return m_pSharedInstance;
}

bool ResourceLoader::init() {

    StartLoadingResource();
	return true;
}

void ResourceLoader::StartLoadingResource()
{
    LoadingTextures();
    LoadingPlist();
    LoadingTMX();
}

void ResourceLoader::LoadingTextures()
{
    
}

void ResourceLoader::LoadingPlist()
{
    
}

void ResourceLoader::LoadingTMX()
{
    
}

void ResourceLoader::LoadingCallback(cocos2d::CCObject *pSender)
{
    
}

